#Set vault to random to protect system fom too many files in ANMN collections
#acSetVaultPathPolicy|$objPath like "/ARCS/projects/IMOS/*/ANMN/*"|msiSetRandomScheme|nop
acSetVaultPathPolicy
   {
   on($objPath like "/ARCS/projects/IMOS/*/ANMN/*")
      {
      msiSetRandomScheme;
      }
   }

#Reading preferences
#acPreprocForDataObjOpen||msiSetDataObjPreferredResc("arcs-df.vpac.org"%"arcs-df.intersect.org.au"%"arcs-df.eresearchsa.edu.au"%"arcs-df.tpac.edu.au"%"emii.resource.tpac.org.au"%"DEFAULT_RESOURCE")|nop
acPreprocForDataObjOpen
   {
   msiSetDataObjPreferredResc("arcs-df.vpac.org"%"arcs-df.intersect.org.au"%"arcs-df.eresearchsa.edu.au"%"arcs-df.tpac.edu.au"%"emii.resource.tpac.org.au"%"DEFAULT_RESOURCE");
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/ARGO/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/ARGO/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/staging/SOOP/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/staging/SOOP/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/staging/SOTS/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/staging/SOTS/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/staging/ANFOG/*"|msiSetDefaultResc("ivec_disk","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/staging/ANFOG/*")
      {
      msiSetDefaultResc(""ivec_disk"","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/staging/AUV/*"|msiSetDefaultResc("arcs-df.qcif.edu.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/staging/AUV/*")
      {
      msiSetDefaultResc("arcs-df.qcif.edu.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/staging/ANMN/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/staging/ANMN/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/staging/ACORN/*"|msiSetDefaultResc("arcs-df.qcif.edu.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/staging/ACORN/*")
      {
      msiSetDefaultResc("arcs-df.qcif.edu.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/staging/AATAMS/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/staging/AATAMS/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/staging/FAIMMS/*"|msiSetDefaultResc("arcs-df.qcif.edu.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/staging/FAIMMS/*")
      {
      msiSetDefaultResc("arcs-df.qcif.edu.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/staging/eMII/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/staging/eMII/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/staging/SRS/*"|msiSetDefaultResc("ivec_disk","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/staging/SRS/*")
      {
      msiSetDefaultResc(""ivec_disk"","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/archive/SOOP/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/archive/SOOP/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/archive/SOTS/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/archive/SOTS/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/archive/ANFOG/*"|msiSetDefaultResc("ivec_disk","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/archive/ANFOG/*")
      {
      msiSetDefaultResc(""ivec_disk"","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/archive/AUV/*"|msiSetDefaultResc("arcs-df.qcif.edu.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/archive/AUV/*")
      {
      msiSetDefaultResc("arcs-df.qcif.edu.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/archive/ANMN/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/archive/ANMN/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/archive/ACORN/*"|msiSetDefaultResc("arcs-df.qcif.edu.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/archive/ACORN/*")
      {
      msiSetDefaultResc("arcs-df.qcif.edu.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/archive/AATAMS/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/archive/AATAMS/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/archive/FAIMMS/*"|msiSetDefaultResc("arcs-df.qcif.edu.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/archive/FAIMMS/*")
      {
      msiSetDefaultResc("arcs-df.qcif.edu.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/archive/eMII/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/archive/eMII/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/archive/SRS/*"|msiSetDefaultResc("ivec_disk","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/archive/SRS/*")
      {
      msiSetDefaultResc("ivec_disk","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/ACORN/*"|msiSetDefaultResc("arcs-df.qcif.edu.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/ACORN/*")
      {
      msiSetDefaultResc("arcs-df.qcif.edu.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/ANFOG/*"|msiSetDefaultResc("ivec_disk","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/ANFOG/*")
      {
      msiSetDefaultResc("ivec_disk","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/SOOP/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/SOOP/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/SOTS/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/SOTS/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/ANMN/SOOC/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/ANMN/SOOC/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/ANMN/SA/*"|msiSetDefaultResc("arcs-df.eresearchsa.edu.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/ANMN/SA/*")
      {
      msiSetDefaultResc("arcs-df.eresearchsa.edu.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/ANMN/WA/*"|msiSetDefaultResc("ivec_disk","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/ANMN/WA/*")
      {
      msiSetDefaultResc("ivec_disk","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/ANMN/NSW/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/ANMN/NSW/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/ANMN/QLD/*"|msiSetDefaultResc("arcs-df.qcif.edu.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/ANMN/QLD/*")
      {
      msiSetDefaultResc("arcs-df.qcif.edu.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/ANMN/NRS/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/ANMN/NRS/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/ANMN/Accoustic/*"|msiSetDefaultResc("ivec_disk","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/ANMN/Accoustic/*")
      {
      msiSetDefaultResc("ivec_disk","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/FAIMMS/*"|msiSetDefaultResc("arcs-df.qcif.edu.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/FAIMMS/*")
      {
      msiSetDefaultResc("arcs-df.qcif.edu.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/AUV/Tasmania"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/AUV/Tasmania")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/AUV/SouthAustralia"|msiSetDefaultResc("arcs-df.eresearchsa.edu.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/AUV/SouthAustralia")
      {
      msiSetDefaultResc("arcs-df.eresearchsa.edu.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/*/AUV/WestAustralia"|msiSetDefaultResc("ivec_disk","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/*/AUV/WestAustralia")
      {
      msiSetDefaultResc("ivec_disk","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/opendap/AATAMS/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/opendap/AATAMS/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/opendap/SRS/*"|msiSetDefaultResc("arcs-df.ivec.org","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/opendap/SRS/*")
      {
      msiSetDefaultResc("arcs-df.ivec.org","preferred");
      }
   }

#----------catch all else opendap/public that doesn't match any of the above rules
#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/opendap/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/opendap/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
   }

#acSetRescSchemeForCreate|$objPath like "/ARCS/projects/IMOS/public/*"|msiSetDefaultResc("emii.resource.tpac.org.au","preferred")|nop
acSetRescSchemeForCreate
   {
   on($objPath like "/ARCS/projects/IMOS/public/*")
      {
      msiSetDefaultResc("emii.resource.tpac.org.au","preferred");
      }
  }
